.dc-page-design {
  position: relative;
  display: flex;
}

.dc-page-design-left {
  position: relative;
  height: 100%;
  width: 260px;
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;

  .dc-page-design-l-h {
    position: relative;
    height: 38px;
    border-bottom: 1px solid #ebebeb;
  }

  .dc-page-design-l-title {
    position: relative;
    padding-left: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: rgb(0, 175, 255);
    line-height: 38px;
  }

  .dc-page-design-l-c {
    position: relative;
    flex: 1;
    border-right: 1px solid #ebebeb;
    padding: 5px 0 0 10px;
    overflow: hidden;
  }

  .dc-page-design-l-t {
    position: relative;

    > .el-tabs__header {
      margin-bottom: 0;
    }
  }

  .dc-page-design-l-s {
    padding-right: 10px;
  }
}

.dc-page-design-center {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;

  .dc-page-design-c-t {
    position: relative;
    height: 38px;
    border-bottom: 1px solid #ebebeb;

    padding-right: 20px;

    display: flex;
    align-items: center;
    justify-content: right;
  }

  .dc-page-design-c-s {
    position: relative;
    flex: 1;

    .dc-page-design-c-n {
      position: relative;
      height: 100%;
      width: 100%;
      font-size: 1.2rem;
      color: #ccb1ea;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .dc-page-design-container {
      position: relative;
      height: 100%;
      width: 100%;
    }
  }
}

.dc-page-design-right {
  position: relative;
  height: 100%;
  width: 350px;
  flex: 0 0 350px;
  border-left: 1px solid #ebebeb;

  .dc-page-design-r-t {
    position: relative;

    > .el-tabs__header {
      margin-bottom: 0;
    }
  }
}

.dc-page-design-l-comp {
  position: relative;

  .dc-page-design-l-comp-h {
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0;
  }

  .dc-page-design-l-comp-c {
    padding: 0 1px;
  }
}

.dc-page-design-l-field {
  position: relative;

  .dc-page-design-l-field-h {
    height: 32px;
    display: flex;
    align-items: center;
  }
}

.dc-page-design-comp-list {
  position: relative;
  max-height: 300px;
  display: flex;
  flex-wrap: wrap;
  overflow-x: hidden;
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }

  &::-webkit-scrollbar-thumb {
    border-radius: 5px;
    width: 5px;
    height: 5px;
    background-color: rgba(125, 125, 125, 0.5);
  }

  .dc-page-design-comp-item {
    position: relative;
    height: 50px;
    margin: 5px;
    border: 1px dashed #e1e1fc;
    border-radius: 3px;
    cursor: move;
    user-select: none;
    font-size: var(--el-font-size-base);
    padding: 5px 10px;

    display: flex;
    flex-direction: column;

    &:hover {
      border: 1px dashed #6e71e3;
      color: #6e71e3;
    }

    .dc-page-design-comp-item-icon {
      position: relative;
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .dc-page-design-comp-item-name {
      position: relative;
    }
  }
}